/**
 * 
const fs = require('fs')

fs.readFile('1.txt', (err, data) => {
    if (err) {
        console.log(err)
    }
    console.log(data.toString())
})
*/
const arr = [9,72,89,4,1,2,1,4]
const res = arr.filter(item => item === 1)
const res2 = arr.find(item => item === 72)
console.log(res)
console.log(res2)